package com.smarthome.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Device {
    private String id;
    private String name;
    private String type; // 如：light, thermostat, door, speaker
    private boolean status; // 开关状态
    private String additionalInfo; // 额外信息，如温度、亮度等
}
    